#include "stdafx.h"
#include "CppUnitTest.h"

#include "Wm5APoint.h"

using namespace Microsoft::VisualStudio::CppUnitTestFramework;

namespace HSModelTests
  {
  TEST_CLASS(WildMagicsConnectionTest)
    {
    public:

      TEST_METHOD(ShouldCreatePoint)
        {
        // TODO: Your test code here
        Wm5::APoint p = Wm5::APoint(1,2,3);
        double act_x = p.X();
        double act_y = p.Y();
        double act_z = p.Z();

        Assert::AreEqual(1.0, act_x);
        Assert::AreEqual(2.0, act_y);
        Assert::AreEqual(3.0, act_z);
        }

    };
  }